package com.ershi.spring.annotation.di;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

/**
 * @author 二十
 * @since 2021/10/14 9:40 上午
 */
@Component
public class HelloService {

	@Autowired
	//@Qualifier("lisi")
	HelloDao helloDao;

	public HelloDao getHelloDao() {
		return helloDao;
	}

	public void setHelloDao(HelloDao helloDao) {
		this.helloDao = helloDao;
	}
}
